UCF STIG Viewer Logo

The Juniper BGP router must be configured to reject route advertisements from BGP peers that do not list their autonomous system (AS) number as the first AS in the AS_PATH attribute.


Overview

Finding ID Version Rule ID IA Controls Severity
V-253978 JUEX-RT-000060 SV-253978r843967_rule Low
Description
Verifying the path a route has traversed will ensure the IP core is not used as a transit network for unauthorized or possibly even internet traffic. All autonomous system boundary routers (ASBRs) must ensure updates received from eBGP peers list their AS number as the first AS in the AS_PATH attribute.
STIG Date
Juniper EX Series Switches Router Security Technical Implementation Guide 2023-03-23

Details

Check Text ( C-57430r843965_chk )
Review the BGP router configuration to verify the router is configured to deny updates received from eBGP peers that do not list their AS number as the first AS in the AS_PATH attribute.

Verify the configuration of "enforce-first-as" at either the BGP global or group level.
[edit protocols bgp]
group eBGP {
enforce-first-as;
neighbor
;
}
enforce-first-as;

If the router is not configured to reject updates from peers that do not list their AS number as the first AS in the AS_PATH attribute, this is a finding.
Fix Text (F-57381r843966_fix)
Configure all ASBRs to deny updates received from eBGP peers that do not list their AS number as the first AS in the AS_PATH attribute.

set protocols bgp group eBGP enforce-first-as
set protocols bgp group eBGP neighbor

set protocols bgp enforce-first-as